﻿@using PortalCurriculo.MvcWebUI.Resources.Curriculo;
@using PortalCurriculo.MvcWebUI.Resources.Geral
@model IEnumerable<PortalCurriculo.MvcWebUI.Models.CurriculoModel>
<h4 class="floatLeft">@Geral.Curriculo</h4>
<script type="text/javascript">
    function openDialog() {
        $("#editFormCurriculo").dialog({ autoOpen: true, resizable: false, draggable: false });
    };

    function openDialogCargos() {
        $("#masterEdicaoCargos").dialog({ autoOpen: true, resizable: false, draggable: false, modal: true, width: 350, height: 400 });
    };
</script>
<div id="divIncluirCurriculo" class="floatRight">
    @Ajax.ActionLink(@Botoes.Adicionar, "Manter", null, new AjaxOptions { UpdateTargetId = "editFormCurriculo", HttpMethod = "Get", OnBegin = "openDialog" }, 
        new { @class = "addButton" })
</div>
<div class="clear">
    <br />
</div>
<div id="editFormCurriculo" title="@Geral.Curriculo">
    @Html.Action("Manter")
</div>
<div id="listaCurriculos">
    @Html.Partial("Listar", Model)
</div>
<div id="masterEdicaoCargos" title="@Geral.CargosPretendidos">
    
</div>
